package com.edu.mapper;

import com.edu.bean.User;
import org.apache.ibatis.annotations.Param;

import java.awt.print.Book;
import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(User row);

    User selectByPrimaryKey(Integer userId);

    List<User> selectByPrimaryKey2(User row);

    List<User> selectAll();

    int updateByPrimaryKey(User row);

    int insertUsers(@Param("users")List<User> users);
}